package vip.liux.front.infrastructure.constants;

import org.togglz.core.Feature;
import org.togglz.core.annotation.*;
import org.togglz.core.util.NamedFeature;

public class FeatureConstants {

    public static final Feature STORAGE = new NamedFeature("STORAGE");
    public static final String STORAGE_NAME = STORAGE.name();

    enum EnumFeature implements Feature {
        @EnabledByDefault
        @Label("设置")
        @DefaultActivationStrategy(
                id = "release-date",
                parameters = {
                        @ActivationParameter(name = "date", value = "2025-01-01"),
                        @ActivationParameter(name = "time", value = "00:00:00")
                }
        )
        SETTING,
        @Label("聊天")
        @FeatureGroup("Chat")
        CHAT
    }
}
